
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
    <head>


        <?php
        echo $this->Html->css('template');
        echo $this->Html->css('menu');
        echo $this->Html->css('custom-theme/jquery-ui-1.9.2.custom.min');
        echo $this->Javascript->link('jquery-1.7.1.min');
        echo $this->Javascript->link('jquery-ui-1.9.2.custom.min');
        echo $this->Javascript->link('jquery.form');
        echo $this->Javascript->link('jquery.validate');
        echo $this->Javascript->link('messages_es');
        ?>

    </head>
    <body id="page_bg">

        <div class="centern" align="center">


            <table cellpadding="0" cellspacing="0" id="header" border="0">
                <td class="header_l"><?php echo $this->Html->image('left_bg.png', array('alt' => '', 'border' => '0')) ?></td>
                <td valign="top">
                    <div class="top_bg"><?php echo $this->Html->image('top_bg.png', array('alt' => '', 'border' => '0')) ?></div>
                    <div id="header_bg"></div>
                    <div id="tabareag">
                        <div id="menu" >
                            <ul class="menu">
                                <li><a href="#" class="parent"><span>Administrar</span></a>
                                    <div><ul>
                                            <li><?php echo $this->Ajax->link('<span>Listado de usuarios</span>', array('controller' => 'users', 'action' => 'index'), array('update' => 'content', 'escape' => false)); ?></li>
                                            <li><?php echo $this->Ajax->link('<span>Grupos</span>', array('controller' => 'groups', 'action' => 'index'), array('update' => 'content', 'escape' => false)); ?></li>
                                        </ul>
                                    </div>
                                </li>
                                <li><a href="#" class="parent"><span>General</span></a>
                                    <div><ul>
                                            <li><?php echo $this->Ajax->link('<span>Información del usuario</span>', array('controller' => 'users', 'action' => 'edit_user'), array('update' => 'content', 'escape' => false)); ?></li>


                                        </ul>
                                    </div>
                                </li>
                                <li>
                                    <a href="#"><span>EMPRESAS</span></a>
                                    <div><ul>
                                            <li><?php echo $this->Html->link('<span>Listado de empresas</span>', array('controller' => 'companies', 'action' => 'index'), array('escape' => false)); ?></li>

                                        </ul>
                                    </div>
                                </li>
                                <li>
                                    <a href="#"><span>Reportes</span></a>
                                    <div><ul>

                                            <li><?php echo $this->Ajax->link('<span>Listado de reportes</span>', array('controller' => 'companies', 'action' => 'report_index'), array('update' => 'content', 'escape' => false)); ?></li>
                                        </ul>
                                    </div>
                                </li>
                                <li><?php echo $this->Html->link('<span>SALIR</span>', array('controller' => 'Users', 'action' => 'logout'), array('escape' => false)); ?></li>
                            </ul>
                        </div>
                        <div class="header_b_bg" >


                        </div>		
                </td>
                <td class="header_r" ><?php echo $this->Html->image('right_bg.png', array('alt' => '', 'border' => '0')) ?></td>
            </table>

            <div id="wrapper" >
                <div id="whitebox">

                    <div id="whitebox_m">
                        <div id="area">






                            <div id="content" >

                                <?php
                                echo $this->Session->flash();
                                echo $this->Session->flash('auth');
                                ?>

                                <?php echo $this->fetch('content'); ?>
                                <?php echo $this->element('sql_dump'); ?>
                            </div>





                        </div>

                    </div>
                    <div id="bottom_bg"></div>
                    <div id="footer">
                        <div id="footer_l">
                            <div id="footer_r">
                                <p style="text-align:center;  padding:16px 25px;color:#fff;">
                                    incoder - Todos los derechos reservados 2009 Linea Atención al Ciudadano: 018000 110132 - PBX: 383 0444 Ext. 1124 - eMail: buzonciudadano@incoder.gov.co
                                    Av. El Dorado CAN, Calle 43 #57-41, Lunes a Viernes 8.00 a.m. a 5:00 p.m. - República de Colombia.
                                </p>
                            </div>
                        </div>
                    </div>			
                </div>
            </div>

        </div>

    </body>
</html>